Hi Mike,
I just tried it and it seems to work for me. I did:
Starting off with Machine Coord = DROs = 0
G1X1 (Moves to X=1, DRO shows 1, Machine Coord = 1, Internal Offset=0)
G92X10 (DRO changes to 10, Machine Coord remain 1, Internal Offset=9, Internal Var=9)
G92.2 (DRO changes to 1, Machine Coord remain 1, Internal Offset=0, Internal Var=9)
G92.3 (DRO changes to 10, Machine Coord remain 1, Internal Offset=9, Internal Var=9)
Tool length compensation is something different however.
Regards
TK
Group: DynoMotion |
Message: 5622 |
From: Michael Rosenfield |
Date: 8/29/2012 |
Subject: Re: tool lenght compensation |
What I did was to use the zero buttons on the control panel of KMotionCNC instead of G92X10. Then I executed a G92.2, and the XYZ positions changed to equal machine position. Then I executed a few other lines of code, and a G92.3. The position displays continue to display the same values as the machine position. Don't the Zero buttons do the same thing as a G92?
Group: DynoMotion |
Message: 5629 |
From: Tom Kerekes |
Date: 8/29/2012 |
Subject: Re: tool lenght compensation |
Hi Mike,
I looked at the Zero button code and it sets the G92 internal offset but does not set the Internal Var.
So you are correct that wouldn't work in that way. We could change it to update the Var also if you need that functionality.
Regards
TK
Group: DynoMotion |
Message: 5630 |
From: Michael Rosenfield |
Date: 8/29/2012 |
Subject: Re: tool lenght compensation |
That would be great! Yes, please!
Group: DynoMotion |
Message: 5631 |
From: Tom Kerekes |
Date: 8/29/2012 |
Subject: Re: tool lenght compensation |
Mike,
Copy this:
to your C:\KMotion430d\KMotion\Release directory and see if it works for you.
Regards
TK
Group: DynoMotion |
Message: 5632 |
From: Michael Rosenfield |
Date: 8/29/2012 |
Subject: Re: tool lenght compensation |
Thanks very much, Tom. I'll try that in the morning. You have KMotion430d listed - did you mean 430b? That's the version I have. Michael
Group: DynoMotion |
Message: 5633 |
From: Tom Kerekes |
Date: 8/29/2012 |
Subject: Re: tool lenght compensation |
Hi Mike,
It should also work with KMotion430b
Regards
TK
Group: DynoMotion |
Message: 5634 |
From: Michael Rosenfield |
Date: 8/30/2012 |
Subject: Re: tool lenght compensation |
Works great, Tom - just what I needed. Thanks again! Michael Rosenfield | | | | | | | | | | | | | |